package com.example.consumer.feign;

import com.alibaba.cloud.nacos.discovery.NacosServiceDiscovery;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "consumer-service")
public interface ConsumerService {
    @GetMapping("/consumer")
    public String consumer();
}
